package com.ruoyi.system.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xdh
 * @title SysOrderRespVo
 * @date 2024/7/2 16:24
 * @description TODO
 */
@Data
@ApiModel("订单列表响应实体类")
public class SysOrderRespVo implements Serializable {

    @ApiModelProperty("id")
    private Integer id;


    @ApiModelProperty("订单编号")
    private String orderCode;

    /**
     *
     */
    @ApiModelProperty("买家姓名")
    private String orderBuyerName;

    /**
     *
     */
    @ApiModelProperty("身份证号码")
    private String orderBuyerIndo;

    /**
     *
     */
    @ApiModelProperty("联系电话")
    private String orderBuyerTel;

    /**
     *
     */
    @ApiModelProperty("订单时间")
    private String orderTime;

    /**
     *
     */
    @ApiModelProperty("购买物品")
    private String orderGoods;

    /**
     *
     */
    @ApiModelProperty("收货人姓名")
    private String orderHarverName;

    /**
     *
     */
    @ApiModelProperty("收货人手机号")
    private String orderHarverTel;

    /**
     *
     */
    @ApiModelProperty("收货地址")
    private String orderHarverAddress;

    /**
     *
     */
    @ApiModelProperty("1: 待分发 2:待核查 3:已核查 ")
    private Integer orderStatus;


    private Integer orderStrikeUserId;
    @ApiModelProperty("核查人")
    private String orderStrikeUsername;


    private Integer orderStrikeDeptId;
    @ApiModelProperty("核查单位")
    private String orderStrikeDeptname;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("核查时间")
    private Date orderStrikeTime;
}
